\chapter{TBox}\label{cha:tbox}
\linespread{1.0}
\lstset{
basicstyle={\footnotesize \ttfamily}
}
\begin{lstlisting}[caption={MedOnto.owl}, label=lst:TBox]
<?xml version="1.0"?>

<!DOCTYPE rdf:RDF [
    <!ENTITY owl "http://www.w3.org/2002/07/owl#" >
    <!ENTITY swrl "http://www.w3.org/2003/11/swrl#" >
    <!ENTITY swrlb "http://www.w3.org/2003/11/swrlb#" >
    <!ENTITY MedOnto "http://www.test.com/MedOnto.owl#" >
    <!ENTITY xsd "http://www.w3.org/2001/XMLSchema#" >
    <!ENTITY owl2xml "http://www.w3.org/2006/12/owl2-xml#" >
    <!ENTITY rdfs "http://www.w3.org/2000/01/rdf-schema#" >
    <!ENTITY rdf "http://www.w3.org/1999/02/22-rdf-syntax-ns#" >
    <!ENTITY protege "http://protege.stanford.edu/plugins/owl/protege#" >
    <!ENTITY xsp "http://www.owl-ontologies.com/2005/08/07/xsp.owl#" >
]>

<rdf:RDF xmlns="http://www.test.com/MedOnto.owl#"
     xml:base="http://www.test.com/MedOnto.owl"
     xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
     xmlns:swrl="http://www.w3.org/2003/11/swrl#"
     xmlns:protege="http://protege.stanford.edu/plugins/owl/protege#"
     xmlns:owl2xml="http://www.w3.org/2006/12/owl2-xml#"
     xmlns:xsp="http://www.owl-ontologies.com/2005/08/07/xsp.owl#"
     xmlns:owl="http://www.w3.org/2002/07/owl#"
     xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
     xmlns:swrlb="http://www.w3.org/2003/11/swrlb#"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
     xmlns:MedOnto="http://www.test.com/MedOnto.owl#">
    <owl:Ontology rdf:about="">
        <rdfs:isDefinedBy rdf:datatype="&xsd;string">Qiang Li</rdfs:isDefinedBy>
        <owl:versionInfo xml:lang="en">0.0.2</owl:versionInfo>
        <rdfs:comment xml:lang="en"
            >Diplomarbeit Test Ontology</rdfs:comment>
    </owl:Ontology>

    <!--
    /////////////////////////////////////////////
    // Object Properties
    /////////////////////////////////////////////
     -->

    <!-- http://www.test.com/MedOnto.owl#contains -->
    <owl:ObjectProperty rdf:about="#contains"/>

    <!-- http://www.test.com/MedOnto.owl#depictsDLE -->
    <owl:ObjectProperty rdf:about="#depictsDLE">
        <rdfs:range rdf:resource="#DeepLevelEntity"/>
        <rdfs:domain rdf:resource="#Document"/>
    </owl:ObjectProperty>

    <!-- http://www.test.com/MedOnto.owl#depictsSLE -->
    <owl:ObjectProperty rdf:about="#depictsSLE">
        <rdfs:range rdf:resource="#SurfaceLevelEntity"/>
        <rdfs:domain rdf:resource="#Word"/>
    </owl:ObjectProperty>

    <!-- http://www.test.com/MedOnto.owl#hasAuthor -->
    <owl:ObjectProperty rdf:about="#hasAuthor">
        <rdfs:range rdf:resource="#Author"/>
        <rdfs:domain rdf:resource="#Document"/>
    </owl:ObjectProperty>

    <!-- http://www.test.com/MedOnto.owl#hasPart -->
    <owl:ObjectProperty rdf:about="#hasPart"/>

    <!-- http://www.test.com/MedOnto.owl#isAbout -->
    <owl:ObjectProperty rdf:about="#isAbout"/>

    <!--
    /////////////////////////////////////////////
    // Data properties
    /////////////////////////////////////////////
     -->

    <!-- http://www.test.com/MedOnto.owl#authorFirstName -->
    <owl:DatatypeProperty rdf:about="#authorFirstName">
        <rdfs:domain rdf:resource="#Author"/>
        <rdfs:range rdf:resource="&xsd;string"/>
    </owl:DatatypeProperty>

    <!-- http://www.test.com/MedOnto.owl#authorLastName -->
    <owl:DatatypeProperty rdf:about="#authorLastName">
        <rdfs:domain rdf:resource="#Author"/>
        <rdfs:range rdf:resource="&xsd;string"/>
    </owl:DatatypeProperty>

    <!-- http://www.test.com/MedOnto.owl#beginAt -->
    <owl:DatatypeProperty rdf:about="#beginAt">
        <rdfs:range rdf:resource="&xsd;long"/>
        <rdfs:domain>
            <owl:Class>
                <owl:unionOf rdf:parseType="Collection">
                    <rdf:Description rdf:about="#Sentence"/>
                    <rdf:Description rdf:about="#Word"/>
                </owl:unionOf>
            </owl:Class>
        </rdfs:domain>
    </owl:DatatypeProperty>

    <!-- http://www.test.com/MedOnto.owl#content -->
    <owl:DatatypeProperty rdf:about="#content">
        <rdfs:range rdf:resource="&xsd;string"/>
        <rdfs:domain>
            <owl:Class>
                <owl:unionOf rdf:parseType="Collection">
                    <rdf:Description rdf:about="#SurfaceLevelEntity"/>
                    <rdf:Description rdf:about="#Word"/>
                </owl:unionOf>
            </owl:Class>
        </rdfs:domain>
    </owl:DatatypeProperty>

    <!-- http://www.test.com/MedOnto.owl#endAt -->
    <owl:DatatypeProperty rdf:about="#endAt">
        <rdfs:range rdf:resource="&xsd;long"/>
        <rdfs:domain>
            <owl:Class>
                <owl:unionOf rdf:parseType="Collection">
                    <rdf:Description rdf:about="#Sentence"/>
                    <rdf:Description rdf:about="#Word"/>
                </owl:unionOf>
            </owl:Class>
        </rdfs:domain>
    </owl:DatatypeProperty>

    <!-- http://www.test.com/MedOnto.owl#hasTitle -->
    <owl:DatatypeProperty rdf:about="#hasTitle">
        <rdfs:domain rdf:resource="#Document"/>
        <rdfs:range rdf:resource="&xsd;string"/>
    </owl:DatatypeProperty>

    <!-- http://www.test.com/MedOnto.owl#publishCity -->
    <owl:DatatypeProperty rdf:about="#publishCity">
        <rdfs:domain rdf:resource="#Document"/>
        <rdfs:range rdf:resource="&xsd;string"/>
    </owl:DatatypeProperty>

    <!-- http://www.test.com/MedOnto.owl#publishYear -->
    <owl:DatatypeProperty rdf:about="#publishYear">
        <rdfs:domain rdf:resource="#Document"/>
        <rdfs:range rdf:resource="&xsd;string"/>
    </owl:DatatypeProperty>

    <!-- http://www.test.com/MedOnto.owl#publisherName -->
    <owl:DatatypeProperty rdf:about="#publisherName">
        <rdfs:range rdf:resource="&xsd;string"/>
    </owl:DatatypeProperty>

    <!-- http://www.test.com/MedOnto.owl#sourceTypeValue -->
    <owl:DatatypeProperty rdf:about="#sourceTypeValue">
        <rdfs:range rdf:resource="&xsd;string"/>
    </owl:DatatypeProperty>

    <!-- http://www.test.com/MedOnto.owl#sourceURL -->
    <owl:DatatypeProperty rdf:about="#sourceURL">
        <rdfs:domain rdf:resource="#Document"/>
        <rdfs:range rdf:resource="&xsd;string"/>
    </owl:DatatypeProperty>

    <!--
    /////////////////////////////////////////////
    // Classes
    /////////////////////////////////////////////
     -->

    <!-- http://www.test.com/MedOnto.owl#ACE_inhibitor -->
    <owl:Class rdf:about="#ACE_inhibitor">
        <rdfs:subClassOf rdf:resource="#AntihypertensiveDrug"/>
        <rdfs:comment rdf:datatype="&xsd;string"
            >Angiotensin-converting enzyme</rdfs:comment>
    </owl:Class>

    <!-- http://www.test.com/MedOnto.owl#ADP_receptor_inhibitor -->
    <owl:Class rdf:about="#ADP_receptor_inhibitor">
        <rdfs:subClassOf rdf:resource="#AntiplateletDrug"/>
        <rdfs:comment rdf:datatype="&xsd;string"
            >Adenosine diphosphate(ADP) receptor inhibitors</rdfs:comment>
    </owl:Class>

    <!-- http://www.test.com/MedOnto.owl#AT1_antagonist -->
	<owl:Class rdf:about="#AT1_antagonist">
        <rdfs:subClassOf rdf:resource="#AntihypertensiveDrug"/>
        <rdfs:comment rdf:datatype="&xsd;string"
            >Angiotensin II receptor type 1</rdfs:comment>
    </owl:Class>

    <!-- http://www.test.com/MedOnto.owl#AntihypertensiveDrug -->
    <owl:Class rdf:about="#AntihypertensiveDrug">
        <rdfs:subClassOf rdf:resource="#Drug"/>
    </owl:Class>

    <!-- http://www.test.com/MedOnto.owl#AntiplateletDrug -->
    <owl:Class rdf:about="#AntiplateletDrug">
        <rdfs:subClassOf rdf:resource="#Drug"/>
    </owl:Class>

    <!-- http://www.test.com/MedOnto.owl#Author -->
    <owl:Class rdf:about="#Author">
        <rdfs:subClassOf rdf:resource="#MetaInfo"/>
    </owl:Class>

    <!-- http://www.test.com/MedOnto.owl#COX_inhibitor -->
    <owl:Class rdf:about="#COX_inhibitor">
        <rdfs:subClassOf rdf:resource="#AntiplateletDrug"/>
        <rdfs:comment rdf:datatype="&xsd;string"
            >Cyclooxygenase inhibitors</rdfs:comment>
    </owl:Class>

    <!-- http://www.test.com/MedOnto.owl#DeepLevelEntity -->
    <owl:Class rdf:about="#DeepLevelEntity">
        <rdfs:subClassOf rdf:resource="#DomainEntity"/>
    </owl:Class>

    <!-- http://www.test.com/MedOnto.owl#Disease -->
    <owl:Class rdf:about="#Disease">
        <rdfs:subClassOf rdf:resource="#SurfaceLevelEntity"/>
    </owl:Class>

    <!-- http://www.test.com/MedOnto.owl#DiseaseOfTheCirculatorySystem -->
    <owl:Class rdf:about="#DiseaseOfTheCirculatorySystem">
        <rdfs:subClassOf rdf:resource="#Disease"/>
    </owl:Class>

    <!-- http://www.test.com/MedOnto.owl#Document -->
    <owl:Class rdf:about="#Document">
        <rdfs:subClassOf rdf:resource="#StructuralUnit"/>
    </owl:Class>

    <!-- http://www.test.com/MedOnto.owl#DomainEntity -->
    <owl:Class rdf:about="#DomainEntity"/>

    <!-- http://www.test.com/MedOnto.owl#Drug -->
    <owl:Class rdf:about="#Drug">
        <rdfs:subClassOf rdf:resource="#SurfaceLevelEntity"/>
    </owl:Class>

    <!-- http://www.test.com/MedOnto.owl#DrugCombination -->
    <owl:Class rdf:about="#DrugCombination">
        <rdfs:subClassOf rdf:resource="#SurfaceLevelEntity"/>
    </owl:Class>

    <!-- http://www.test.com/MedOnto.owl#DrugComparison -->
    <owl:Class rdf:about="#DrugComparison">
        <rdfs:subClassOf rdf:resource="#DeepLevelEntity"/>
    </owl:Class>

    <!-- http://www.test.com/MedOnto.owl#Hypertension -->
    <owl:Class rdf:about="#Hypertension">
        <rdfs:subClassOf rdf:resource="#DiseaseOfTheCirculatorySystem"/>
    </owl:Class>

    <!-- http://www.test.com/MedOnto.owl#MetaInfo -->
    <owl:Class rdf:about="#MetaInfo"/>

    <!-- http://www.test.com/MedOnto.owl#Myocardial_Infarction -->
    <owl:Class rdf:about="#Myocardial_Infarction">
        <rdfs:subClassOf rdf:resource="#DiseaseOfTheCirculatorySystem"/>
    </owl:Class>

    <!-- http://www.test.com/MedOnto.owl#Placebo -->
    <owl:Class rdf:about="#Placebo">
        <rdfs:subClassOf rdf:resource="#SurfaceLevelEntity"/>
    </owl:Class>

    <!-- http://www.test.com/MedOnto.owl#RelationEntity -->
    <owl:Class rdf:about="#RelationEntity">
        <rdfs:subClassOf rdf:resource="#SurfaceLevelEntity"/>
    </owl:Class>

    <!-- http://www.test.com/MedOnto.owl#Sentence -->
    <owl:Class rdf:about="#Sentence">
        <rdfs:subClassOf rdf:resource="#StructuralUnit"/>
    </owl:Class>

    <!-- http://www.test.com/MedOnto.owl#StructuralUnit -->
    <owl:Class rdf:about="#StructuralUnit"/>

    <!-- http://www.test.com/MedOnto.owl#SurfaceLevelEntity -->
    <owl:Class rdf:about="#SurfaceLevelEntity">
        <rdfs:subClassOf rdf:resource="#DomainEntity"/>
    </owl:Class>

    <!-- http://www.test.com/MedOnto.owl#Word -->
    <owl:Class rdf:about="#Word">
        <rdfs:subClassOf rdf:resource="#StructuralUnit"/>
    </owl:Class>
</rdf:RDF>
\end{lstlisting} 